import { Controller, Get, Post, Body, Patch, Param, Delete } from '@nestjs/common'
import { CalculateAcrossService } from './calculate-across.service'
import { CreateCalculateAcrossDto } from './dto/create-calculate-across.dto'
import { UpdateCalculateAcrossDto } from './dto/update-calculate-across.dto'

@Controller('calculate-across')
export class CalculateAcrossController {
  constructor(private readonly calculateAcrossService: CalculateAcrossService) {}

  @Post()
  create(@Body() createCalculateAcrossDto: CreateCalculateAcrossDto) {
    return this.calculateAcrossService.create(createCalculateAcrossDto)
  }
}
